package com.zt.ztyh.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 * @TableName ztyh_occupation
 */
@TableName(value ="ztyh_occupation")
@Data
public class Occupation implements Serializable {
    /**
     * 职业主键（自动递增）
     */
    @TableId(value = "zid", type = IdType.AUTO)
    private Integer zid;

    /**
     * 职业名称
     */
    @TableField(value = "zname")
    private String zname;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createtime;

    /**
     * 修改时间
     */
    @TableField(value = "updateTime")
    private Date updatetime;

    /**
     * 删除标记(0:不可用 1:可用)
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
